package com.example.microinvestcommon.vo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDate;

@AllArgsConstructor
@Data
@NoArgsConstructor
public class BuyStockVo {
    private BigInteger buyId;
    private String stockSymbol;
    private BigDecimal buyPrice;
    private Integer quantity;
    private BigDecimal totalAmount;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate buyDate;
}
